package com.curd.mapper;

import java.util.List;

import org.springframework.stereotype.Repository;

import tk.mybatis.mapper.common.BaseMapper;

@Repository
public interface BasesMapper<T> {
	
public int insert(T record);
	
	public int insertSelective(T record);
	
	public int delete(T record);
	
	public int deleteById(String id);
	
	public int update(T record);
	
	public int updateSelective(T record);
	
	public T selectByPrimaryKey(String id);
	
	public List<T> selectList(T record);
}
